package rxt.huiyi.com.rxterfit.component;

import android.app.Application;

import com.google.gson.Gson;

import javax.inject.Singleton;

import dagger.Component;
import retrofit2.Retrofit;
import rxt.huiyi.com.rxterfit.module.RxJavaExecuter;
import rxt.huiyi.com.rxterfit.module.app.AppModule;
import rxt.huiyi.com.rxterfit.module.app.GsonModule;
import rxt.huiyi.com.rxterfit.retrofitService.ReterfitService;

/**
 * Created by huiyi on 2017/5/8.
 */
@Singleton
@Component(modules = {AppModule.class, ReterfitService.class,RxJavaExecuter.class,GsonModule.class})
public interface AppComponent {

    Application getRxJavaApp();

    Retrofit getRetrofit();

    RxJavaExecuter getRxJavaExecuter();

    Gson getGson();

}
